WPM\Includes\Admin\WPM_Bulk_Translate D

Total Complexity 177
Dependencies 2
Dependents 1
Total lines 1,192
Lines of code 888
Logical lines of code 341
Comment lines 134
Methods 22
Properties 2

Methods 22

Method Rating Maintainability Complexity Lines of code
import_data_from_file()
D
29 30 128
xml_to_array_1_2()
C
34 28 97
xml_to_array_2_1()
C
36 27 77
format_xliff_data()
A
39 11 68
generate_xliff_12()
A
38 10 77
render_xliff_groups()
A
40 10 71
import_translations()
A
45 11 43
perform_bulk_action()
A
38 8 79
load_scripts()
S
48 6 36
parse_bulk_request()
S
50 6 31
add_errors()
S
55 5 19
parse_request_before_redirect()
S
57 5 17
handle_bulk_action()
S
57 4 17
display_form()
S
64 4 10
display_notices()
S
61 3 12
init()
S
58 2 15
render_import_translations()
S
54 1 28
generate_xliff_20()
S
56 1 20
generate_xliff_21()
S
56 1 20
add_settings_error()
S
65 2 10
__construct()
S
66 1 9
add_action()
S
75 1 4